package com.tvunetworks.center.device.service.impl;

import java.io.IOException;
import java.util.List;
import java.util.Set;

/**
 * @program: tvucc-aggregator
 * @description: DeviceGeoServiceImpl
 * @author lebronchen
 * @create: 2020-04-20 15:21
 **/
public interface DevicePairService {
    /**
     *
     * @param rid rid
     * @return List
     */
    List<String> listRPairT(String rid);

    /**
     *
     * @param rid rid
     * @return List
     * @throws Exception 编译异常
     */
    List<String> listCacheRPairX(String rid) throws Exception;

    /**
     *
     * @param rid rid
     * @return  List
     * @throws Exception 编译异常
     */
    List<String> listRPairX(String rid) throws Exception;

    /**
     *
     * @param tid tid
     * @return List
     */
    List<String> listTPairR(String tid);

    /**
     *
     * @param xid xid
     * @return List
     * @throws IOException 编译异常
     */
    List<String> listCacheXPairR(String xid) throws IOException;

    /**
     *
     * @param xid xid
     * @return List
     * @throws IOException 编译异常
     */
    List<String> listXPairR(String xid) throws IOException;

    /**
     *
     * @param rids rids
     * @return Set
     */
    Set<String> listRsPairTids(Set<String> rids);
}
